<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>谷歌首页</title>
    <style>
        html, body {
            height: 100%;
            margin: 0;
            padding: 0;
        }

        body {
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .container {
            width: 900px;
            margin: 0 auto;
        }

        div {
            text-align: center;
        }

        .search-container {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        input {
            width: 400px;
            height: 30px;
            padding: 0 8px;
            border: 1px solid #ddd;
            border-radius: 4px;
        }

        button {
            height: 32px;
            padding: 0 16px;
            background-color: #4285f4;
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
        }

        button:hover {
            background-color: #3367d6;
        }
    </style>
</head>
<body>
<div class="container">
    <div class="head">
        <div class="log">
            <a href="#"><img src="./logo.png" alt="谷歌logo"></a>
        </div>
        <div>
            <a href="#">全部</a>
            <a href="#">图片</a>
            <a href="#">视频</a>
            <a href="#">新闻</a>
            <a href="#">音乐</a>
            <a href="#">地图</a>
            <a href="#">全部</a>
        </div>
    </div>
    <br>
    <div class="body">
        <div class="search-container">
            <input type="text">
            <button>谷歌一下</button>
        </div>
        <div>
            <a href="#">维基百科</a>
            <a href="#">维基文库</a>
            <a href="#">自由的图书馆</a>
            |
            <a href="#">更多>></a>
        </div>
        <div>
            <a href="#"><img src="./ic.jpg" alt="谷歌地图图标">谷歌地图带你吃喝玩乐,全心全意为人民服务</a>
        </div>
    </div>
    <br>
    <div class="bottom">
        <div>
            <a href="#">给谷歌设为首页</a>
        </div>
        <div>
            <a href="#">广告</a>
            |
            <a href="#">商务</a>
            |
            <a href="#">Google大全</a>
            |
            <a href="#">条款</a>
        </div>
        <div>
            <p>©2025 Google提供</p>
        </div>
    </div>
</div>
</body>
</html>
